package cn.kpi.service.sys;

import java.util.List;

import cn.kpi.entity.sys.GeneralCodeEntity;

public interface IGeneralCodeService {
	public int InsertEntity(GeneralCodeEntity entity) throws Exception;
	public List<GeneralCodeEntity> GetGeneralCodeList()throws Exception;
	public List<GeneralCodeEntity> GetGeneralCodeListLimit(int beginrow,int endrow)throws Exception;
	public int GetGeneralCodeListLimitCount()throws Exception;
	public GeneralCodeEntity GetGeneralCodeById(Long generalid)throws Exception;
	public int DeleteEntity(Long generalid)throws Exception;
	public int UpdateEntity(GeneralCodeEntity entity)throws Exception;
	public List<GeneralCodeEntity> GetGeneralCodeListByWhere(String where)throws Exception;

}
